package com.prize.members.apis;

import com.prize.dtos.ResponseResult;
import com.prize.pojo.member.Level;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

public interface LevelControllerApi {

    public ResponseResult getLevels(String levelName, int pageSize, int pageNow);

    public ResponseResult allLevel();

    public ResponseResult addLevel(@RequestBody Level level);


    public ResponseResult updateLevel(@RequestBody Level level);


    public ResponseResult delLevel(@PathVariable Integer id);
}
